﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Setting.aspx.cs" Inherits="Admin_Setting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
   <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">  <!-- 以上代码告诉IE浏览器，IE8/9及以后的版本都会以最高版本IE来渲染页面。 -->  
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>系统设置——中南大学教室预约管理系统</title>
    <link rel="stylesheet" href="../css/normalize.css">
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" type="text/css" href="../css/room_operate.css">
</head>
<body>
    <header>
        <div class="logo">
            <img src="../images/logo1.png" alt="中南大学logo" class="logo-img vertical-center">
            <h1 class="vertical-center">教室预约管理系统</h1>
        </div>
        <div class="logoff">
            <a href="#"><span><asp:label id="label_user" runat="server" Text="这里是姓名"></asp:label>（<asp:label ID="label_stuNum" runat="server" Text="这里是学号"></asp:label>）</span></a>
            <a href="../LogOff.aspx" ><img src="../images/out.png" alt="注销登录"/></a>
        </div>
    </header><!-- header结束 -->
    <div class="container" style="margin:20px auto">
        <nav class="nav-list">
           <a href="AdminIndex.aspx" class="nav-item" id="nav-item1">
				<span class="iconfont">&#xe63e;</span>
				<span class="item-info">主页</span>
			</a>
			<a href="DealRequre.aspx" class="nav-item" id="nav-item2">
				<span class="iconfont">&#xe604;</span>
				<span class="item-info">申请处理</span>
			</a>
			<a href="AccountManagement.aspx" class="nav-item" id="nav-item3">
				<span class="iconfont">&#xe601;</span>
				<span class="item-info">账号管理</span>
			</a>
			<a href="Setting.aspx" class="nav-item" id="nav-item4">
				<span class="iconfont">&#xe64a;</span>
				<span class="item-info">系统设置</span>
			</a>
			<a href="ClassList.aspx" class="nav-item" id="nav-item5">
				<span class="iconfont">&#xe751;</span>
				<span class="item-info">教室列表</span>
			</a>
			<a href="ClassManagement.aspx" class="nav-item" id="nav-item6">
				<span class="iconfont">&#xe610;</span>
				<span class="item-info">教室管理</span>
			</a>
			<a href="ManageNotice.aspx" class="nav-item" id="nav-item8">
				<span class="iconfont">&#xe600;</span>
				<span class="item-info">公告管理</span>
			</a>
            <span class="triangle" style="left:459px;"></span>
        </nav>
    <form id="Form1" runat="server" style="background: #fff">
        <div class="reserve-content">
           <br />
            <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" 
                oncancelcommand="DataList1_CancelCommand" 
                oneditcommand="DataList1_EditCommand" CellPadding="4" ForeColor="#333333" 
                onupdatecommand="DataList1_UpdateCommand" Width="923px">
                <AlternatingItemStyle BackColor="White" />
                <EditItemTemplate>
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    可提前预约天数：<asp:TextBox ID="TextBox1" runat="server" Text='<%# Eval("BookDay") %>'></asp:TextBox>
                    <br />
                    需提前预约天数：<asp:TextBox ID="TextBox2" runat="server" Text='<%# Eval("NeedDay") %>'></asp:TextBox>
                    <br />
                    <br />
                    <asp:Button ID="Button2" runat="server" CommandName="Update" Text="提交" />
                    &nbsp;&nbsp;
                    <asp:Button ID="Button3" runat="server" CommandName="Cancel" Text="取消" />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                </EditItemTemplate>
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <ItemStyle BackColor="#EFF3FB" />
                <ItemTemplate>
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    可提前预约天数：<asp:Label ID="Label1" runat="server" Text='<%# Eval("BookDay") %>'></asp:Label>
                    <br />
                    <br />
                    需提前预约天数：<asp:Label ID="Label2" runat="server" Text='<%# Eval("NeedDay") %>'></asp:Label>
                    <br />
                    <br />
                    <asp:Button ID="Button1" runat="server" CommandName="Edit" Text="修改" />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                </ItemTemplate>
                <SelectedItemStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            </asp:DataList>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                ConnectionString="<%$ ConnectionStrings:BookClassConnectionString %>" 
                SelectCommand="SELECT [BookDay], [NeedDay], [ID] FROM [System]">
            </asp:SqlDataSource>
                </div>
            </form><!--  form seat-info结束 -->
</body>
</html>

